extern unsigned int speed_val; //how much to advance in the table for a given Hz
extern unsigned int hertz; //the speed we'd like to spin the motor
extern unsigned int voltage; //compensator for voltage. In the range [0,4095] 0 being zero volts, 4095 being full volts

extern unsigned int positionHiResPH1;  // A circle broken up into 65536 "degrees".  Add 504 each time to positionHiResPH1 if you want to have motor speed be 60 Hz, if it's being updated at 8kHz.
extern int sinPhase1;

extern unsigned int positionHiResPH2;
extern int sinPhase2;


extern unsigned int positionHiResPH3;
extern int sinPhase3;

extern int duty1, duty2, duty3;


void MotorLoop_VHz();
void init_vhz();
